package com.example.demo6;

import com.example.demo6.domain.Movie;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.ArrayList;
import java.util.List;

@SpringBootApplication
public class Demo6Application {

	public static void main(String[] args) {
		SpringApplication.run(Demo6Application.class, args);
		List<Movie> list = new ArrayList<>();

		for (Movie movie: list) {
			System.out.println(movie.getName());

		}
	}
}
